package com.yyj.dao;

import com.yyj.entity.*;
import java.util.List;
import org.apache.ibatis.annotations.*;

@Mapper
public interface PutDao {
    List<Pet> getBySearch(@Param("petParams") PetParams petParams);
    //用户查自己发布的宠物
    @Select("select * from pet where originalOwnerId=#{originalOwnerId}")
    List<Pet> getMyPut(Integer originalOwnerId);

}